package com.yanqu.road.server.channelserver.cmd.activity.tonbing;

import com.yanqu.road.message.YanQuMessage;
import com.yanqu.road.pb.activity.ChannelTonBingProto;
import com.yanqu.road.server.channelserver.manager.activity.tonbing.ChannelTonBingMgr;
import com.yanqu.road.server.channelserver.manager.activity.tonbing.activity.ChannelTonBingActivity;
import com.yanqu.road.server.command.Cmd;
import com.yanqu.road.server.command.Command;
import com.yanqu.road.server.protocol.ChannelProtocol;
import io.netty.channel.ChannelHandlerContext;

@Cmd(code = ChannelProtocol.N_TON_BING_GET_UNION_MEMBER_RESP, desc = "")
@Deprecated
public class ChannelTonBingGetUnionMemberRespCmd implements Command {

    @Override
    public void execute(ChannelHandlerContext ctx, YanQuMessage packet) throws Exception {
        ChannelTonBingProto.ChannelTonBingGetMemberRespMsg reqMsg = ChannelTonBingProto.ChannelTonBingGetMemberRespMsg.parseFrom(packet.getBytes());
        ChannelTonBingActivity activity = ChannelTonBingMgr.getActivity(reqMsg.getActivityId());
//        activity.updateUnionMemberByCmd(reqMsg);
    }
}
